package com.yunupmall.service.admin.impl;


import com.yunupmall.entity.admin.commoditypojo.PayConcetion;
import com.yunupmall.mapper.commoditymapper.PayconcectionMapper;
import com.yunupmall.service.admin.service.Pay_concectionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PayConcectionimpl implements Pay_concectionService {
    @Autowired
    PayconcectionMapper payconcectionMapper;

    @Override
    public List<PayConcetion> getAllData(Integer thispage, Integer pageSize) {
        return payconcectionMapper.getAllData(thispage, pageSize);
    }

    @Override
    public int getCounts() {
        return payconcectionMapper.getCounts();
    }

    @Override
    public int addData(String patName, String text, String time, String patTatgerName) {
        return payconcectionMapper.addData(patName, text, time, patTatgerName);
    }
}
